package com.bluegalaxy.sitescore.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 
 *
 */
@TableName(value = "tb_message")
public class TbMessage implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId
	private Long Id;

	/** 用户ID */
	@TableField(value = "userId")
	private Long userId;

	/** 用户信息 */
	private String message;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date create_time;

	/** 阅读时间 */
	@TableField(value = "read_time")
	private Date read_time;

	/** 阅读状态 0 未阅读 1 阅读 */
	@TableField(value = "read_status")
	private Integer read_status;

	/**  消息来源   0 录入员发的消息 1审批人发的消息 */
	@TableField(value = "source")
	private Integer source;

	public Long getId() {
		return this.Id;
	}

	public void setId(Long Id) {
		this.Id = Id;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Date getCreate_time() {
		return this.create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Date getRead_time() {
		return this.read_time;
	}

	public void setRead_time(Date read_time) {
		this.read_time = read_time;
	}

	public Integer getRead_status() {
		return this.read_status;
	}

	public void setRead_status(Integer read_status) {
		this.read_status = read_status;
	}

	public Integer getSource() {
		return source;
	}

	public void setSource(Integer source) {
		this.source = source;
	}
}
